/*
 * Copyright (c) 2017. 深圳掌控网络有限公司. All rights reserved.
 */

package com.yiqi.lottery.feature.mine.contract;

import com.suozhang.framework.framework.BasePresenter;
import com.suozhang.framework.framework.BaseView;
import com.yiqi.lottery.entity.bo.BalanceBo;
import com.yiqi.lottery.entity.bo.OrderDetailBo;
import io.reactivex.Observable;

/**
 *      LIJUWEN
 * @email yiyayiyayaoljw@gmail.com
 * @date 2017/4/11 9:06
 */
public interface DetailContract {

    interface Model {

        Observable<OrderDetailBo> getOrderDetail(int order_id,int type);
        Observable<OrderDetailBo> getCopurceDetail(int order_id);
    }

    interface View extends BaseView {

        void showOrderDetailSuccess(OrderDetailBo msg);

        void showOrderDetailError(String msg);



    }


    interface Presenter extends BasePresenter {
        void getOrderDetail(int order_id,int type);
        void  getCopurceDetail(int order_id);
    }
}
